﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SilowniaFitness.Template
{
    public partial class MenuItem : System.Web.UI.UserControl
    {
        public String label
        {
            get { return Label.Text; }
            set { Label.Text = value; }
        }
        public String category { get; set; }
        public String link
        {
            get { return Label.NavigateUrl; }
            set { Label.NavigateUrl = value; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind();
        }
        public void setSelected()
        {
            MenuItemFrame.CssClass = "MenuItemActive";
        }
    }
}